﻿@using NewLife;
@using System.Reflection
@using XCode
@using XCode.Configuration
@using Microsoft.AspNetCore.Mvc.Rendering;
@{
	//Layout = NewLife.Cube.Setting.Current.Layout;

	var entity = Model as IEntity;
	var fields = ViewBag.Fields as FieldCollection;
}

<div class="card">
	<div class="card-body">
		@await Html.PartialAsync("_Form_Body", entity)
	</div>
</div>